import Layout from '@/layouts';
export const asyncRoutes = (permissionRouters = [], homeRoute) => [
    ...permissionRouters,
    {
        name: 'message',
        path: '/message/index',
        component: () => import(/* webpackChunkName: 'setting' */ '@/views/message/index'),
        meta: { title: '消息列表', icon: 'message' },
        hidden: true
    },
    {
        name: 'setting_config',
        path: '/setting/config/index',
        component: () => import(/* webpackChunkName: 'setting' */ '@/views/setting/config/index'),
        meta: { title: '系统配置', icon: 'system' },
        hidden: true
    },
    {
        name: 'setting_user',
        path: '/setting/user/index',
        component: () => import(/* webpackChunkName: 'setting' */ '@/views/setting/user/index'),
        meta: { title: '个人信息', icon: 'user' },
        hidden: true
    },
    { path: '*', redirect: '/404', hidden: true }
];
